﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using NCrawler.Extensions;

namespace ZCrawler
{
    public class ZAnalysisPool
    {
        private List<ZAnalysis> pool;
        public ZAnalysisPool()
        {
            pool = new List<ZAnalysis>();
        }
        public void AddAnalysis(ZAnalysis analysis)
        {
            pool.Add(analysis);
        }
        public ZAnalysis[] ToArray()
        {
            return pool.ToArray();
        }
        public ZAnalysis this[int index]
        {
            get
            {
                return pool[index];
            }
        }
        public int Count
        {
            get
            {
                return pool.Count;
            }
        }
    }
}
